mt,
mount
and
umount,
these commands are as described in the System V Interface Definition (SVID),
Third Edition.
mt
command is a magnetic tape manipulation program, with
the following syntax:
mt -f tapename command [ count ]
mt
is used to give commands to a magnetic tape drive.
Note that
tapename
must reference a raw (not block) tape device.
By default,
mt
performs the requested operation once.
Operations may be performed multiple times by specifying
count
.
Valid choices for
command
are as follows:
A rewind media command for a partitioned 4mm DDS tape will take
you to the first block of the current partition, not the physical beginning
of media. The specification of commands to deal with partitioned DDS media
is outside the current scope of the ABI.
mt
returns a 0 exit status upon successful completion, 1 if
the command was unrecognized, and 2 if an operation failed.
Differences are known to exist among various vendor platforms as to
exactly where a tape is positioned after reading a file on a multi-file
tape. These are difficult to reconcile due to compatibility
requirements with prior OS releases by each vendor.
Applications that use multi-file tapes, especially using them
for installation should consider using
dd
to actually extract
the information, and the undocumented -D option for cpio
which
inhibits read ahead. This is the mechanism used by the SVR4 packaging
tools. Vendors have generally made dd
properly position the tape
in a consistant way.
mount
and
unmount
commands specify how to mount and unmount file systems.
The specification below extends the definition in the
System V Interface Definition (SVID), Third Edition,
to support the mounting and unmounting of CD-ROM based file systems.
This definition is derived from the OCMP specification.
mount, umount
mount -F cdfs -o ro[,specific_options] /dev/abi/cd_iso mountpoint
umount /dev/abi/cd_iso
-F cdfs used to specify CD-ROM file system. -o specific_optionsused to select CD-ROM specific options identified below. Specify options on the command line delimited by commas.
ro
mount as read-only file system.nmconv=[clm]
specification for name conversion. Note that the default conversion is system dependent. It is recommended that a value always be supplied.
c means no conversion.
l converts upper case to lower case.
m deletes any version number following a ';'.
Example: ----------------------------- nmconv Filename ----------------------------- c FILE;5 l file;5 m FILE lm file -----------------------------
Back to the Table of Contents
Copyright © 1995, MIPS ABI Group, Incorporated.